package gcontent.action;

import java.util.ArrayList;

import com.opensymphony.xwork2.*;

public class AdvancedSearch extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	public ArrayList<SearchType> getTypes()
	{
		ArrayList<SearchType> list = new ArrayList<SearchType>();
		list.add(new SearchType(SearchType.TYPE_CONTENT, "Content"));
		list.add(new SearchType(SearchType.TYPE_IMAGES, "Images"));
		list.add(new SearchType(SearchType.TYPE_VIDEOS, "Videos"));
		list.add(new SearchType(SearchType.TYPE_TORRENTS, "Torrents"));
		list.add(new SearchType(SearchType.TYPE_ELINKS, "eLinks"));
		return list;
	}
	
	public String execute() {
		return SUCCESS;
	}
}
